Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niels Kristiansen 166 posts 382 karma points
    Apr 27, 2009 @ 01:28
    Niels Kristiansen
    0

    How do I make the { or } in XSLT

    Hi,

    I have a class I need to call in XSLT, that have { and } in it. Unfortuantly when I insert these in the XSLT it makes an error, which it should because it will conflict. How can I "translate" it to something the browser understand afterwards?


    Kind regards,
    Niels Kristiansen

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Apr 27, 2009 @ 03:24
    Casey Neehouse
    0

    An example of your code may help the understanding of your question. I will try to read between the lines for the moment.

    You can try
    [code]

    code...

    [/code]

  • Niels Kristiansen 166 posts 382 karma points
    Apr 28, 2009 @ 00:52
    Niels Kristiansen
    0

    Hi Neehouse

    Of course, my mistake :)

    I'm using a jQuery for round corners and this functionality needs a class="rounded {3px}" to get a 3 px round corner. It's no problem in the template, but when I try to do it in the XSLT editor it throw's back an error.

    I will try to place your example tomorrow in the code to see if it solves my problem.

    Thank you for the quick reply.

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Apr 28, 2009 @ 09:19
    Warren Buckley
    0

    OK in xslt try this piece of code

    [code]




    Content inside your div....

    [/code]

    Hope this helps.
    Warren

  • Niels Kristiansen 166 posts 382 karma points
    May 01, 2009 @ 11:32
    Niels Kristiansen
    0

    Hi Warren,

    That just did it, works like a okilidokoli now :)
    Thanks so much and have a very nice weekend.

Please Sign in or register to post replies

Write your reply to:

Draft